﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using KPIS.GERP.Models;
using KPIS.GERP.Models.SYS.ViewModel;

namespace KPIS.GERP.WEB.GIMS.Classes
{
	public static class SystemBehaviorUtility
	{
		public static SystemBehaviorVM[] LoadConfigSystemBehaviorVm()
		{
			return new []
				{
					new SystemBehaviorVM { Name = "เว็ป GIMS", ErrorLogSummaryUrl = WebConfigUtility.ErrorLogWebGimsUrl},
					new SystemBehaviorVM { Name = "Service Ess", ErrorLogSummaryUrl = WebConfigUtility.ErrorLogWcfEssUrl},
					new SystemBehaviorVM { Name = "Service Gbms", ErrorLogSummaryUrl = WebConfigUtility.ErrorLogWcfGbmsUrl},
					new SystemBehaviorVM { Name = "Service Ghrms", ErrorLogSummaryUrl = WebConfigUtility.ErrorLogWcfGhrmsUrl},
					new SystemBehaviorVM { Name = "Service Gims", ErrorLogSummaryUrl = WebConfigUtility.ErrorLogWcfGimsUrl},
					new SystemBehaviorVM { Name = "Service Sys", ErrorLogSummaryUrl = WebConfigUtility.ErrorLogWcfGimsUrl}
				};
		}
	}
}